﻿using Abp.Application.Services.Dto;
using System;

namespace Camc.Quality.Dto.TableOutDto
{
    /// <summary>
    /// 产品接地状态检查记录表
    /// </summary>
    public class ProductGroundingOutDto : FullAuditedEntityDto<Guid>
    {
        #region 基础元素
        /// <summary>
        /// 表名
        /// </summary>
        public virtual string FormName { get; set; }
        /// <summary>
        /// 工步ID
        /// </summary>
        public virtual Guid WorkStepEntityId { get; set; }
        /// <summary>
        /// 工序ID
        /// </summary>
        public virtual Guid ProcessesEntityId { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public virtual int Sort { get; set; }
        /// <summary>
        /// 序号
        /// </summary>
        public virtual int Index { get; set; }
        
        #endregion

        #region 记录元素
        /// <summary>
        /// 记录元素值
        /// </summary>
        public virtual string RecordElement { get; set; }
        /// <summary>
        /// 记录元素列名
        /// </summary>
        public virtual string RecordElement_DisplayName { get; protected set; }
        /// <summary>
        /// 是否可操作
        /// </summary>
        public virtual bool RecordElement_Enable { get; set; }
        /// <summary>
        /// 是否显示
        /// </summary>
        public virtual bool RecordElement_Show { get; set; }
        #endregion

        #region 确认状态
        /// <summary>
        /// 确认状态值
        /// </summary>
        public virtual string ConfirmationState { get; set; }
        /// <summary>
        /// 确认状态列名
        /// </summary>
        public virtual string ConfirmationState_DisplayName { get;set; }
        /// <summary>
        /// 是否可操作
        /// </summary>
        public virtual bool ConfirmationState_Enable { get;set; }
        /// <summary>
        /// 是否显示
        /// </summary>
        public virtual bool ConfirmationState_Show { get;set; }
        #endregion

        #region 实测值
        /// <summary>
        /// 实测值
        /// </summary>
        public virtual string ActualMeasurement { get; set; }
        /// <summary>
        /// 实测值列名
        /// </summary>
        public virtual string ActualMeasurement_DisplayName { get; set; }
        /// <summary>
        /// 是否可操作
        /// </summary>
        public virtual bool ActualMeasurement_Enable { get; set; }
        /// <summary>
        /// 是否显示
        /// </summary>
        public virtual bool ActualMeasurement_Show { get; set; }
        #endregion

        #region 实测值2
        /// <summary>
        /// 实测值
        /// </summary>
        public virtual string ActualMeasurement2 { get; set; }
        /// <summary>
        /// 实测值列名
        /// </summary>
        public virtual string ActualMeasurement2_DisplayName { get; set; }
        /// <summary>
        /// 是否可操作
        /// </summary>
        public virtual bool ActualMeasurement2_Enable { get; set; }
        /// <summary>
        /// 是否显示
        /// </summary>
        public virtual bool ActualMeasurement2_Show { get; set; }
        #endregion

        #region 产品编号
        /// <summary>
        /// 产品编号值
        /// </summary>
        public virtual string ProductCode { get; set; }
        /// <summary>
        /// 产品编号列名
        /// </summary>
        public virtual string ProductCode_DisplayName { get;set; }
        /// <summary>
        /// 是否可操作
        /// </summary>
        public virtual bool ProductCode_Enable { get;set; }
        /// <summary>
        /// 是否显示
        /// </summary>
        public virtual bool ProductCode_Show { get;set; }
        #endregion

        #region 记录项目
        /// <summary>
        /// 记录项目值
        /// </summary>
        public virtual string RecordProject { get; set; }
        /// <summary>
        /// 记录项目列名
        /// </summary>
        public virtual string RecordProject_DisplayName { get; set; }
        /// <summary>
        /// 是否可操作
        /// </summary>
        public virtual bool RecordProject_Enable { get; set; }
        /// <summary>
        /// 是否显示
        /// </summary>
        public virtual bool RecordProject_Show { get; set; }

        #endregion

        #region 图号1
        /// <summary>
        /// 图号值
        /// </summary>
        public virtual string DrawingCode { get; set; }
        /// <summary>
        /// 图号列名
        /// </summary>
        public virtual string DrawingCode_DisplayName { get; set; }
        /// <summary>
        /// 是否可操作
        /// </summary>
        public virtual bool DrawingCode_Enable { get; set; }
        /// <summary>
        /// 是否显示
        /// </summary>
        public virtual bool DrawingCode_Show { get; set; }
        #endregion

        #region 名称
        /// <summary>
        /// 名称值
        /// </summary>
        public virtual string DisplayName { get; set; }
        /// <summary>
        /// 名称列名
        /// </summary>
        public virtual string DisplayName_DisplayName { get;set; }
        /// <summary>
        /// 是否可操作
        /// </summary>
        public virtual bool DisplayName_Enable { get;set; }
        /// <summary>
        /// 是否显示
        /// </summary>
        public virtual bool DisplayName_Show { get;set; }
        #endregion

        #region 编号
        /// <summary>
        /// 编号值
        /// </summary>
        public virtual string Number { get; set; }
        /// <summary>
        /// 编号列名
        /// </summary>
        public virtual string Number_DisplayName { get;set; }
        /// <summary>
        /// 是否可操作
        /// </summary>
        public virtual bool Number_Enable { get;set; }
        /// <summary>
        /// 是否显示
        /// </summary>
        public virtual bool Number_Show { get;set; }
        #endregion

        /// <summary>
        /// 通用元素
        /// </summary>
        public CurrencyOutDto Currency { get; set; }

        /// <summary>
        /// 三检
        /// </summary>
        public ThirdInspectionOutDto ThirdInspection { get; set; }
    }
}
